package com.oocl.easymockDemo01;

import java.util.List;

public class CustomerManagerImpl {
	private List<String> list;
	
	public void setList(List<String> list) {
		this.list = list;
	}
	public boolean addCustomer(String c1,String c2){
		if(c1.startsWith(c2)){
			boolean b1=list.add(c1);
			boolean b2=list.add(c2);
			
			return b1;
		}
		else{
			return false;
		}
	}
}










